package designPatterns.P05_适配器模式_Adapter.P03_接口适配器_InterfaceAdapter_匿名内部类;

public class P01 {
    public static void main(String[] args) {
        Adaptor adaptor = new Adaptor(){
            @Override
            public void m1() {
                System.out.println("使用了m1方法");
            }
        };
        adaptor.m1();
    }
}
